home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_2 / shuffl23.zip / SHUFFLE.DOC < prev    next >
Text File  |  1992-09-22  |  21KB  |  457 lines

  1.  
  2.                               WORD SHUFFLE
  3.  
  4.                                   v2.3
  5.  
  6.                                    by
  7.  
  8.                               Al Lawrence
  9.  
  10.                             Sunrise-80  BBS
  11.                             (404) 256-9525
  12.  
  13.       
  14.                               
  15.                                 OVERVIEW
  16.                                 ________
  17.  
  18.  
  19.    Word Shuffle is a word game whereby the computer has scrambled the 
  20.    letters of a word and you must unscramble it to make points. The
  21.    game is pretty straight forward and the package also contains a 
  22.    program which add new puzzles to the database and as an event, will 
  23.    create new puzzles and start a new game, as soon as a pre-determined
  24.    number of players have solved all the puzzles. This is done 
  25.    automatically, all you must do is ensure that there are an adequate 
  26.    suppply of puzzles in the database. The same program used in the event
  27.    process is the same one you will use to add words to the database.
  28.  
  29.  
  30.  
  31.  
  32.    NOTE: Most errors will be logged to a file called DFRAME.ERR, which is
  33.          created in the directory you run the door from.
  34.  
  35.  
  36.                               INSTALLATION
  37.                               ____________
  38.  
  39.  
  40.    Installation is fairly easy and straight-forward. The following steps and
  41.    examples should have you up and running in a very short period of time.
  42.    It is assumed that you are familiar with setting up DOORS on your system.
  43.    To this end, only examples of the configuration file and Door batch file
  44.    are described.
  45.  
  46.       1) Create a directory to hold all WORD SHUFFLE files.
  47.  
  48.       2) Unzip SHUFFLxx.ZIP into the the above directory.
  49.  
  50.          NOTE: BRUN45.EXE is not included but is required !!!
  51.  
  52.       3) Create a configuration file, with a name of your choice, or
  53.          modify the supplied SHUFFLE.CFG file. A description follows:
  54.  
  55.             **                       Location of System File (See Below)
  56.             SUNRISE-80 BBS           Your BBS Name
  57.             Al                       Sysop's First Name
  58.             Lawrence                 Sysop's Last name
  59.      
  60. |-----------------------------------------------------------------------------|
  61. | READ!     1                        CommPort  \ These 2 lines are required   |
  62. | READ!     1                        Node #    / ONLY for GTUSER.BBS          |
  63. |-----------------------------------------------------------------------------|
  64.  
  65.             00000000                 Registration Number
  66.       
  67.         #   1                        Number of plays per day/caller (1-3)
  68.                                      (Sysop gets 99 in registerd version ONLY!)
  69.  
  70.         #   2                        Keyboard Timeout Value in Minutes.
  71.  
  72.             50                       Number of entries in the Top Score file
  73.  
  74.         #   NONE                     Full drive:\path\filename for Top Score
  75.                                      Bulletin, or NONE
  76.  
  77.         #   NONE                     Full drive:\path\filename for Top Score
  78.                                      Bulletin (Color), or NONE
  79.  
  80.         #   20                       Number of puzzles comprising the game(QUE)
  81.  
  82.             2                        1 = Do Not Display ADOPT-A-DOOR Message
  83.                                      2 = Display ADOPT-A-DOOR Message
  84.  
  85.             3                        The number of players that must complete
  86.                                      all puzzles, before the puzzles are 
  87.                                      changed automatically by SHUFWORD, in 
  88.                                      your nightly event processing.
  89.  
  90.     !   #   0                        Time Remaining in Door
  91.                                      (Sysop = Time Remaining - REG. VERSION)
  92.  
  93.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  94.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  95.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  96.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  97.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  98.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  99.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  100.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  101.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  102.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  103.  
  104.     @   #   XXXX/YYYY                 Blackout Range  From/To
  105.     @   #   XXXX/YYYY                 Blackout Range  From/To
  106.     @   #   XXXX/YYYY                 Blackout Range  From/To
  107.     @   #   XXXX/YYYY                 Blackout Range  From/To
  108.     @   #   XXXX/YYYY                 Blackout Range  From/To
  109.  
  110.          ** = Replace with ONE of the following:
  111.  
  112. C:\PCB\PCBOARD.SYS              <- For PCBoard systems using PCBOARD.SYS only
  113. C:\BBS\CALLINFO.BBS             <- For Wildcat! systems (prior to v3.0)
  114. C:\BBS\USERINFO.DAT             <- For Wildcat! systems using v3.x
  115.                                    (Note:DOOR.SYS must be in SAME directory)
  116. C:\BBS\DOOR.SYS                 <- For ANY systems that support DOOR.SYS
  117. C:\BBS\DORINFOx.DEF             <- For ANY systems that support DORINFOx.DEF
  118. C:\BBS\SFDOORS.DAT              <- For Spitfire systems.
  119. c:\bbs\TRIBBS.SYS               <- Fir TriBBS systems.
  120. C:\BBS\CHAIN.TXT                <- For WWIV systems 
  121. C:\BBS\GTUSER.BBS               <- For GT Power 
  122.                                    * if using this option you must put the
  123.                                      ComPort # on line 5 and the Node # on
  124.                                      line 6 of the configuration file
  125.  
  126.  
  127.  
  128.          # =  Requires registration to change to a different value
  129.          ! = See "Plays Per DAY/DOOR Time" Below
  130.          @ = See "Blackout Periods" Below
  131.  
  132.  
  133.               NOTE:THERE ARE TO BE NO BLANK LINES IN THIS FILE !
  134.  
  135.       4) When running more than one node, be sure to read Multi-Node
  136.          described below.
  137.  
  138.  
  139.  
  140.                           BLACKOUT PERIODS
  141.                           ________________
  142.  
  143.       Use the Blackout ranges option to define up to 5 time periods during
  144.       which you DO NOT want the Door to be played. If a caller tries to access 
  145.       the Door during the Blackout period, they will be shown a message that
  146.       contains ALL the Blackout periods you have defined, and to try the Door
  147.       at a later time.
  148.  
  149.       Each of the 5 Blackout ranges takes the form of XXXX/YYYY, where
  150.       XXXX=beginning time and YYYY=the ending time. For example, 0930/1230
  151.       means to NOT allow the Door to be played between 9:30am and 12:30pm.
  152.  
  153.       IMPORTANT: - All times must be 4 digits & must follow the XXXX/YYYY format
  154.                  - DO NOT change the XXXX/YYYY entry UNLESS you want to assign
  155.                    a Blackout range.
  156.                  - You MUST use the MILITARY time format. Example: 2030=8:30pm
  157.                    0900=9am, 0030=12:30am, 1700=5pm, etc.
  158.  
  159.  
  160.                           PLAYS Per DAY/DOOR Time
  161.                           _______________________
  162.  
  163.       Plays Per Day and Door Time can be controlled several ways:
  164.  
  165.       (1) You can use the Games Per Day, singular option, in the config
  166.           file above. This option, will affect ALL callers whose Security
  167.           Level is NOT defined in any of the 10 optional Security Level/
  168.           Plays Per Day entries in the config file.
  169.  
  170.       (2) You can use the Door Time, singular option, in the config file
  171.           above. This option, will affect ALL callers whose Security
  172.           Level is NOT defined in any of the 10 optional Security Level/
  173.           Plays Per Day/Door Time entries in the config file.
  174.  
  175.       (3) You can restrict the number of games a specific Security Level
  176.           will be allowed to play per day or REWARD specific Levels with 
  177.           more Plays Per Day. 
  178.  
  179.           Likewise, you can restrict the Play time for a specific Security
  180.           Level or REWARD specific Levels with more Door Time.
  181.  
  182.           These options are handled by the use of the 10 config 
  183.           entries (000=00/00). 
  184.           
  185.           The format of each entry is as follows:
  186.  
  187.           XXX=YY/ZZ  where XXX is the Security Level (must be 3 digits)
  188.                      where =  is a constant and MUST be included
  189.                      where YY is the # of games per day (must be 2 digits)
  190.                      where / is a constant and MUST be included
  191.                      where ZZ is num. minutes per Door entry (must be 2 digits)
  192.           
  193.           If the callers Security Level is NOT defined, his/her Plays Per
  194.           Day and Door Time will be controlled by the values in items
  195.           (1) and (2), above, respectively..
  196.  
  197.           You may define up to 10 Security Levels. All unused entries must
  198.           be defined as   000=00/00
  199.         --------------------------------------------------------------------
  200.           Example: Suppose you had 3 Security Levels defined on your BBS as
  201.           (20=Subscriber, 30=Visiting Sysop, 40=CoSysop, 90=Friend) and you 
  202.           wanted to set Plays Per Day as :     Subscriber=5
  203.                                            Visiting Sysop=2
  204.                                                   CoSysop=3
  205.                                                    Friend=10 
  206.           
  207.           and Door Time as follows:     Subscriber=30 minutes
  208.                                     Visiting Sysop=20 minutes
  209.                                            CoSysop=10 minutes 
  210.                                             Friend=remaining call time
  211.                                
  212.  
  213.           You would set the Individual "Games per Day" config entry to 1 and 
  214.           the individual "Door Time" to 5 minutes (these would be the 
  215.           default number of games and default Time for all Security Levels
  216.           other than 20,30 or 40... make them any number you want). Next you
  217.           would replace 4 of the Security Level entries as :  020=05/30                                               
  218.                                                               030=02/20
  219.                                                               040=03/10
  220.                                                               090=10/0
  221.  
  222.  
  223.  
  224.  
  225.                         NON-STANDARD COM SUPPORT
  226.                         ________________________
  227.  
  228.       Support for COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
  229.       COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
  230.       number after the configuration filename. Let's assume your Door is
  231.       called FOOBAR and you want to use COM1 and IRQ5. The command line
  232.       passed to your Door would be:
  233.  
  234.                             FOOBAR FOOBAR.CFG /5
  235.  
  236.       The /5 tells FOOBAR to use IRQ5 rather than the standard IRQ4 that is
  237.       normally used with COM1. No /x parameter is needed for the standard
  238.       IRQ's.
  239.  
  240.       As an alternative, you may use an environmental variable on the command
  241.       line. To use the variable (following the example above), place a 
  242.       SET IRQ=5 in the batch file used to bring up your BBS (you would need a 
  243.       different IRQ number for each node). The command line would now look 
  244.       like this: 
  245.  
  246.                           FOOBAR FOOBAR.CFG /%IRQ%
  247.       
  248.       This, in combination with the use of the environmental variables 
  249.       described in the MULTI-NODE SETUP section will allow you to use one 
  250.       batch file and one config file to run this door on all nodes.
  251.  
  252.  
  253.  
  254.  
  255.                            MULTI-NODE SETUP
  256.                            ________________
  257.  
  258.       All Sunrise Doors are Multi-Node capable. Each node must have the 
  259.       ability to access a configuration file which will have its own system 
  260.       file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc) defined on the first 
  261.       line. There are 2 ways to accomplish this:
  262.  
  263.       (1) Create a separate configuration file for each node. The only 
  264.           difference between each file would be the location of the system 
  265.           file for that particular node. For example, on my system there are 2
  266.           nodes and the first line of the config files would look like this:
  267.  
  268.                         NODE1:  H:\PCB1\DOOR.SYS
  269.                         NODE2:  H:\PCB2\DOOR.SYS
  270.  
  271.           Thus, if you have a 4 node BBS, you will need 4 configuration files.
  272.  
  273.       (2) Use ONE configuration file for ALL nodes. This Door will recognize 
  274.           the following PCBoard environmental variables:
  275.  
  276.                  PCBDIR    (Directory containing the System file)
  277.                  PCBDRIVE  (Drive containing the System file)
  278.  
  279.           Thus, the first line of the SINGLE configuration file, for this Door
  280.           would look like this:
  281.  
  282.                         %PCBDRIVE%%PCBDIR%\DOOR.SYS
  283.  
  284.       NOTE: This option, as described, assumes that you are running PCBoard 
  285.             14.5a software. The environmental variables are automatically 
  286.             created by the software for each node.
  287.  
  288.             HOWEVER, if you are running other BBS software you should be able
  289.             to set the variables EXACTLY as described below, for EACH node 
  290.             (more than likely in each batch file you use to bring up EACH node):
  291.  
  292.                             PCBDRIVE=C:
  293.                             ^^^^^^^^^
  294.                             PCBDIR=\NODE2
  295.                             ^^^^^^^^
  296.             
  297.             Info with a carat (^) under it, MUST be typed as is. The rest 
  298.             depends on your naming conventions. 
  299.  
  300.             This, in combination with the use of the optional environmental
  301.             variable described in the NON-STANDARD COM SUPPORT section, will
  302.             allow you to use one batch file and one config file to run this 
  303.             door on all nodes.
  304.  
  305.  
  306.  
  307.  
  308.                                 SHUFWORD
  309.                                 ---------
  310.  
  311.     This is the Word Shuffle utility maintenance progam. This program is
  312.     used to add words to the Shuffle database and to perform the nightly 
  313.     maintenance.
  314.  
  315.     Note: If running an unregistered copy you will be restricted to 60
  316.           words in the Shuffle database vs 1000 words in the registered
  317.           copy and you will not be able to run as a nightly event.
  318.  
  319.      ********************************************************************
  320.      *                                                                  *
  321.      *   Assuming that your config file is named SHUFFLE.CFG, use the   *
  322.      *   following EXAMPLE to run SHUFWORD to add words to the         *
  323.      *   SHUFFLE database.                     ^^^^^^^^^                *
  324.      *                                                                  *
  325.      *                  cd\pcb\doors\shuffle                            *           
  326.      *                  SHUFWORD SHUFFLE.CFG                           *
  327.      *                                                                  *
  328.      ********************************************************************                                                                
  329.  
  330.  
  331.                              EVENT PROCESSING
  332.                              ________________
  333.  
  334.     After your callers complete all the words you have defined, it becomes
  335.     necessary to change them and start a new game. This task can be done 
  336.     manually, using SHUFWORD or automatically, as part of your nightly 
  337.     EVENT process.
  338.  
  339.     As a nightly EVENT, SHUFWORD checks to see if the number of players, 
  340.     as defined in the configuration file, have completed all words, in which
  341.     case it will automatically supply a new set of words and reset/update 
  342.     the appropriate files. The following is an EXAMPLE of what needs to be 
  343.     placed in your EVENT.SYS file (PcBoard):
  344.  
  345.  
  346.            CD\PCB\DOORS\SHUFFLE        Location of SHUFFLE files
  347.            SHUFWORD SHUFFLE.CFG /E     EXE filename and config filename
  348.            CD\PCB
  349.            BOARD
  350.  
  351.  
  352.  
  353.              
  354.  
  355.  
  356.  
  357.  
  358.                                ADOPT-A-DOOR
  359.                                ____________
  360.  
  361.  
  362.     Having been a Sysop for a number of years, I have had my share of problems
  363.     and frustrations getting financial support for my board's upkeep. A fellow
  364.     Sysop left a message on my board, not long ago, about a concept that was
  365.     being used by several boards around the country.
  366.  
  367.     The concept, ADOPT-A-DOOR, allows a caller to register (ADOPT) a door. It
  368.     would be the same as sending in a donation, only this way it is earmarked
  369.     for registering a particular door. In a way, the user feels he/she is
  370.     "getting something in return". As a Door author I have decided to build
  371.     this concept into each of my Door programs. The concept replaces the
  372.     usual message "tell the Sysop to register this Door" we find in most
  373.     doors.
  374.  
  375.     If the Door is unregisterd then a message appears on the opening screen
  376.     to that effect. After finishing or suspending a game, a message screen
  377.     is displayed about the ADOPT-A-DOOR concept. The message also tells the
  378.     caller to contact the Sysop to find out if there is any further details
  379.     to the ADOPT-A-DOOR concept. Some Sysops give extra D/L time, online
  380.     time, etc to callers that ADOPT-A-DOOR.
  381.  
  382.     If the Door has been registered, either by the Sysop or other callers,
  383.     the names of those contributors will be displayed in the closing screen.
  384.  
  385.     NOTE: If you want to display the names of the callers that contributed
  386.           to registering the Door, you must create an ASCII file called
  387.           ADOPT.SYS. You create it with an Editor or Word Processor. Enter
  388.           the name(s) of the contributors (one on each line, maximum of 5
  389.           entries, each a maximum of 30 characters long). This file must be
  390.           saved, in ASCII format, and placed in the Door directory.
  391.  
  392.  
  393.  
  394.                               LEGALITIES
  395.                               __________
  396.  
  397.  
  398.       THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS"
  399.       WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
  400.       LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  401.       FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ANYONE INVOLVED WITH
  402.       THE CREATION AND PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT,
  403.       SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF ANY USE THEREOF
  404.       OR BREACH OF ANY WARRANTY.
  405.  
  406.  
  407.  
  408.  
  409.  
  410.                              DISTRIBUTION
  411.                              ____________
  412.  
  413.    You may make this file available for downloading from your BBS or you may
  414.    upload it to any BBS of your choice, provided that you do not make any
  415.    changes to the contents of the archive (ZIP file). The archive and its
  416.    individual contents may not be used by any service that charges any money
  417.    whatsoever, without the written permission of the author.
  418.  
  419.  
  420.  
  421.  
  422.  
  423.                              REGISTRATION
  424.                              ____________
  425.  
  426.    Registration and the subsequent insertion of the registration number into
  427.    your configuation file, allows for the display of your BBS name on the
  428.    opening and closing screen as well as the reduction of a delay built into
  429.    the opening screen display along with the ability to change certain values
  430.    in the configuration file.
  431.  
  432.    To register your copy of WORD SHUFFLE, please fill out the registration
  433.    form (REGISTER.FRM) and mail it along with the registration fee to
  434.    the name and address on the form or supply a self-addressed stamped 
  435.    envelope for registration number by return mail.t
  436.  
  437.    Be sure to use the proper upper/lower case when filling in your name and
  438.    BBS name, as they MUST match the way you entered them in the configuration
  439.    file.             ^^^^
  440.  
  441.    Based upon information supplied on the registration form, I will pre-
  442.    register you on my BBS. You will then be able to call SUNRISE-80 and pick
  443.    up your registration number.
  444.  
  445.  
  446.  
  447.                                  MISC
  448.                                  ____
  449.  
  450.    The latest version of WORD SHUFFLLE and other fine SUNRISE DOOR programs
  451.    are always available for download from SUNRISE-80 BBS.
  452.  
  453.    Remember, should you have any problems, questions or suggestions, be sure
  454.    to drop me a message on either of the aforementioned BBS'.  I am now a 
  455.    PCRelay node (SUNRISE) and can be reached thru the SYSOP, BBSDOORS, 
  456.    PCBhints RIME conferences.
  457.